﻿using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Text;
using WebApi.Repository.Entity;

namespace WebApi.Repository
{
    public class CommodityDbContext:DbContext
    {
        public CommodityDbContext(DbContextOptions<CommodityDbContext> options):base(options) { }
        public DbSet<TagEntity> Tags { set; get; }
        public DbSet<ProductEntity> Products { set; get; }
        public DbSet<ProductTag> ProductTags { set; get; }
    }
}
